from rest_framework.routers import SimpleRouter
from .views import DeviceModelViewSet, MaintenanceRecordModelViewSet

router = SimpleRouter()
router.register("api/device", DeviceModelViewSet)
router.register("api/maintenance", MaintenanceRecordModelViewSet)

urlpatterns = []
urlpatterns += router.urls